package com.cloud.code.牛客网;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Scanner;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class test5 {

    static Map<String,String> map = new HashMap<>();

    static {
        map.put("1","1");
        map.put("abc","2");
        map.put("def","3");
        map.put("ghi","4");
        map.put("jkl","5");
        map.put("mno","6");
        map.put("pqrs","7");
        map.put("tuv","8");
        map.put("wxyz","9");
        map.put("0","0");
    }

    public static void main(String[] args) {

        Scanner in = new Scanner(System.in);
        while (in.hasNext()){
            String line = in.nextLine();
            char[] chars = line.toCharArray();
            StringBuffer stringBuffer = new StringBuffer();
            for (int i = 0; i < chars.length; i++) {
                if('0'<=chars[i] && chars[i] <= '9'){
                    stringBuffer.append(chars[i]);
                    continue;
                }

                if('A'<=chars[i] && chars[i] <= 'Y' ){
                    stringBuffer.append((char)(Character.toLowerCase(chars[i]) + 1));
                    continue;
                }else if('Z'==chars[i]){
                    stringBuffer.append("a");
                    continue;
                }

                Iterator<Map.Entry<String, String>> iterator = map.entrySet().iterator();
                while (iterator.hasNext()){
                    Map.Entry<String, String> next = iterator.next();
                    if(next.getKey().contains(String.valueOf(chars[i]))){
                        stringBuffer.append(next.getValue());
                        break;
                    }
                }
            }

            System.out.println(stringBuffer.toString());
        }
    }
}